package com.ithiema.reggie.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ithiema.reggie.dto.DishDto;
import com.ithiema.reggie.entity.Dish;

/**
 * 菜品业务层接口
 *
 * @author wangxiao
 * @since 2022/11/2 20:30
 */
public interface DishService extends IService<Dish> {
    void saveWithFlavor(DishDto dishDto);
//    根据id获取菜品及菜品口味
    DishDto getByIdWithFlavor(Long id);

    /**
     * 更新数据
     */
    void updateWithFlavor(DishDto dto);
}
